{extend name='admin@main'}
{block name="content"}
<div class="think-box-shadow">
    {include file='log/search_date_range'}

    {notempty name='$data'}
    <div class="layui-row layui-col-space14">
        <!--<div class="layui-col-xs6">-->
            <div class="margin-bottom-15">签到统计</div>
            <div class="layui-row layui-col-space14">
                <table class="layui-table margin-top-10" lay-skin="line">
                    <thead>
                    <tr>
                        <th class='text-left'>日期</th>
                        <th class='text-left'>人数</th>
                        <th class='text-left'>签到人数</th>
                        <th class='text-left'>签到率</th>
                    </tr>
                    </thead>
                    <tbody>
                    {foreach $data as $k=>$v}
                    <tr>
                        <td>
                            {$v.time}
                        </td>
                        <td>
                            {$v.number2}
                        </td>
                        <td>
                            {$v.number}
                        </td>
                        <td>
                            {$v.rate}
                        </td>
                    </tr>
                    {/foreach}
                    </tbody>
                </table>
            </div>

        <!--</div>-->
    </div>
    {else/}
    <span class="notdata">没有记录哦</span>
    {/notempty}
</div>
{/block}
